package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    //新增菜品和口味
    public void saveWithFloavor(DishDTO dishDTO);

    //菜品查询
    PageResult pageQuery(DishPageQueryDTO dishPageQueryDTO);

    //批量删除
    void deleteBath(List<Long> ids);

    //根据id查询
    DishVO getByIdWithFlavor(Long id);

    //根据ID修改菜品基本信息和口味信息
    void updateWithFlavor(DishDTO dishDTO);

    List<DishVO> listWithFlavor(Dish dish);


    void startOrStop(Integer status, Long id);

    List<Dish> list(Long categoryId);
}
